var QQMapWX = require('@/newSDK/qqmap-wx-jssdk.js')
var qqmapsdk;

var addressdata=function(){
	return new Promise((resolve,reject)=>{
		qqmapsdk=new QQMapWX({
			key:'77RBZ-AKM6W-LRFR2-RCER4-KF263-RABPL'
		});
		qqmapsdk.reverseGeocoder({
			success:(res)=>{
				resolve(res)
			},
			fail:(err)=>{
				reject(err)
			}
		})
	})
}  

export {addressdata}
